package org.example.car.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.car.system.domain.Post;

import java.util.List;

/**
 * @Author: cy
 * @Date: 2024/6/24 20:25
 */
@Mapper
public interface PostMapper {

    List<Post> selectAll();

    boolean insertPost(Post entity);

    boolean delPost(Integer id);

    boolean updatePost(Post entity);
}
